Skip to content

✨[Feat] Sprint 4 JPEG Cleaner and Verification - #5

Merged
maruson08 merged 3 commits into
mainfrom
feat/sprint-4-jpeg-cleaner-verification
Aug 24, 2026
Merged

✨[Feat] Sprint 4 JPEG Cleaner and Verification#5
maruson08 merged 3 commits into
mainfrom
feat/sprint-4-jpeg-cleaner-verification

Conversation

@maruson08

Copy link
Copy Markdown
Member

Summary

  • adds deterministic JPEG Privacy Clean for complete EXIF, standard/extended XMP, Photoshop/IPTC, and COM segments
  • reconstructs output from checked retained ranges with one allocation
  • preserves ICC, JFIF/JFXX, Adobe APP14, unknown APP segments, structural markers, scan bytes, ordering, and trailing data by default
  • implements structured JPEG verification for observable absent/present expectations
  • rejects structurally incomplete JPEGs without partial output
  • removes bounded EXIF safely even when its TIFF payload is malformed
  • shares parse-limit validation between inspection and cleaning
  • replaces two obsolete stub assertions with one canonical integration fixture and targeted boundary cases

Validation

  • format: pass
  • lint: pass
  • typecheck: pass
  • tests: 17 files, 164 tests, pass (1.31 s)
  • build: pass
  • package dry run: 35,393 bytes packed / 159,788 bytes unpacked
  • npm audit: 0 vulnerabilities
  • runtime dependencies: 0
  • development dependencies: 8

Scope

PNG and WebP cleaning and verification remain unsupported with typed errors. No runtime dependencies were added.

@maruson08
maruson08 merged commit d8ef5cb into main Aug 24, 2026
1 check passed
@maruson08
maruson08 deleted the feat/sprint-4-jpeg-cleaner-verification branch August 24, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant